﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace RoadTeam.Standard
{

    public class CsHomeInspection
    {
        [XmlElement(ElementName = "Item")]
        public CsHomeInspection_Temp[] Item;
    }




    public class CsHomeInspection_Temp
    {
        [XmlElement(ElementName = "ValidateRoom")]
        public CsValidateRoom ValidateRoom;
        [XmlElement(ElementName = "ValidateRoomInfo")]
        public CsValidateRoomInfo[] ValidateRoomInfo;
    }

    public class CsValidateRoom
    {
        [XmlElement(ElementName = "ValidateRoomIdentifier")]
        public String ValidateRoomIdentifier;
        [XmlElement(ElementName = "ValidateRoomCode")]
        public String ValidateRoomCode;
        [XmlElement(ElementName = "FoundDate")]
        public DateTime FoundDate;
        [XmlElement(ElementName = "ValidateStaffIdentifier")]
        public String ValidateStaffIdentifier;
        [XmlElement(ElementName = "DeveloperOpinion")]
        public String DeveloperOpinion;
        [XmlElement(ElementName = "SubjoinExplain")]
        public String SubjoinExplain;
        [XmlElement(ElementName = "ValidateRoomState")]
        public String ValidateRoomState;
        [XmlElement(ElementName = "UnitIdentifier")]
        public String UnitIdentifier;
        [XmlElement(ElementName = "OrganIdentifier")]
        public String OrganIdentifier;
    }

    public class CsValidateRoomInfo
    {
        [XmlElement(ElementName = "ValidateRInfoIdentifier")]
        public String ValidateRInfoIdentifier;
        [XmlElement(ElementName = "ValidateRoomIdentifier")]
        public String ValidateRoomIdentifier;
        [XmlElement(ElementName = "RoomTypeIdentifier")]
        public String RoomTypeIdentifier;
        [XmlElement(ElementName = "ValidateObjectIdentifier")]
        public String ValidateObjectIdentifier;
        [XmlElement(ElementName = "ValidateProIdentifier")]
        public String ValidateProIdentifier;
        [XmlElement(ElementName = "ValidateState")]
        public String ValidateState;
        [XmlElement(ElementName = "ValidateExplain")]
        public String ValidateExplain;
        [XmlElement(ElementName = "IsRepair")]
        public bool IsRepair;
        [XmlElement(ElementName = "FillStaffIdentifier")]
        public String FillStaffIdentifier;
        [XmlElement(ElementName = "FillDate")]
        public DateTime FillDate;
        [XmlElement(ElementName = "RepairBeginDate")]
        public DateTime RepairBeginDate;
        [XmlElement(ElementName = "RepairEndDate")]
        public DateTime RepairEndDate;
    }



}
